
common:= ../../App/app_common.h ../../App/app_common.c

pthread_01: 01_pthread.c
	gcc -o pthread_01 $^
	./pthread_01
	rm -f pthread_01

sum: 02_sum_sqrt.c $(common)
	gcc -o sum $^  -I../../App
	./sum
	rm -f sum

mutex: 03_mutex.c 
	gcc -o mutex $^
	./mutex
	rm -f mutex

mqueue_04: 04_mqueue.c
	gcc -o mqueue_04 $^
	./mqueue_04
	rm -f mqueue_04